package com.example.springbootzuoye.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VueData<T> {
    private Integer code = 200;
    private String msg = "操作成功";
    private T t;

    public VueData(T t) {
        this.code=200;
        this.msg="操作成功";
        this.t = t;
    }
}
